package com.lxy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName(value = "spu_detail")
@Data
@Accessors(chain = true)//链式调用，
public class SpuDetail {
    /** 商品id */

    @TableId(value = "spu_id",type = IdType.INPUT)
    @ApiModelProperty(name = "商品id",notes = "")
    private Integer spuId ;

/*    *//** 创建时间 *//*
    @ApiModelProperty(name = "创建时间",notes = "")
    private Date createTime ;
    *//** 更新时间 *//*
    @ApiModelProperty(name = "更新时间",notes = "")
    private Date updateTime ;*/

    /** 商品详情 */
    @ApiModelProperty(name = "商品详情",notes = "")
    private String detail ;

}
